package cn.sourcespro.shiro.crudparams.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
* 用户 Entity
*
* @author 张浩伟
* @date 2018/07/12
*/
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AddPermissionDto {

    /**
     * 
     */
    @NotBlank(message = "不能为空")
    private String name;

    /**
     * 
     */
    @NotBlank(message = "不能为空")
    private String description;

}